package com.silverbox.shopper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.silverbox.shopper.entity.CategoryDiscount;

public interface CategoryDiscountMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(CategoryDiscount record);

	int insertSelective(CategoryDiscount record);

	CategoryDiscount selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(CategoryDiscount record);

	int updateByPrimaryKey(CategoryDiscount record);

	/**
	 * 根据店铺id查询分类不打折
	 * 
	 * @param storeId
	 * @return
	 */
	List<String> getCategoryDiscountListByStoreId(@Param("storeId") Integer storeId);
}